using StructureMap.Graph;

namespace IoCBattle.Infrastructorrrr
{
    public class KnowledgeIsPowerConvention : DefaultConventionScanner
    {
        public override System.Type FindPluginType(System.Type concreteType)
        {
            return ConventionHelper
                .FindInterfaceForConcreteUsingPrefixes(concreteType, "IKnow", "ThisGuyCanTellYou");
        }
    }
}